VSFW\Services\WooCommerce S

Total Complexity 43
Dependencies 6
Dependents 1
Total lines 310
Lines of code 175
Logical lines of code 79
Comment lines 93
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_product_attributes()
A
47 7 40
get_product_variations()
S
54 5 21
init_cart()
S
58 5 16
add_to_cart()
S
60 4 14
prepare_product()
S
53 3 22
remove_from_cart()
S
65 3 10
update_quantity()
S
64 3 10
validate_product_variation()
S
71 3 6
prepare_simple_product()
S
59 2 14
get_version()
S
79 2 3
get_cart_data()
S
69 2 6
get_product()
S
69 2 7
is_active()
S
78 1 3
is_installed()
S
79 1 3